projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c958df
)
stack: Fix under transitions
author
Timm Bäder
<mail@baedert.org>
Sat, 1 Jul 2017 17:15:01 +0000
(19:15 +0200)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 20 Jul 2017 01:27:15 +0000
(21:27 -0400)
make sure we initialize both width and height with proper values.
gtk/gtkstack.c
patch
|
blob
|
history
diff --git
a/gtk/gtkstack.c
b/gtk/gtkstack.c
index baa56d4bb68a680a840820816a1a49db86d7edca..b1d515a9a35a1be13ea519523d313127b5a455f4 100644
(file)
--- a/
gtk/gtkstack.c
+++ b/
gtk/gtkstack.c
@@
-1840,6
+1840,9
@@
gtk_stack_snapshot_under (GtkWidget *widget,
gtk_widget_get_content_size (widget, &widget_width, &widget_height);
x = y = 0;
+ width = widget_width;
+ height = widget_height;
+
pos_x = pos_y = 0;
switch (priv->active_transition_type)